..Help .Objects

Math

This object performs simple arithmetic, logic gates, and comparison.

Pins
io letter name unit description
in x y analog auto analog inputs for + - and ×
a b digital logic digital inputs for logic gates
a b analog auto analog inputs for comparisons
out = auto results of operation

Parameters
name option key description
arithmetic add+x + y
sub-x - y
mul*x × y
logic
gate
andaa && b
oroa || b
nandn!( a && b )
norr!( a || b)
xorxa ^^ b
compare LT<a < b
LTE(a <= b
EQ=a == b
NE!a != b
GT>a > b
GTE)a >= b

Notes




©1999-2002 Andy J Turner
All rights reserved.